﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Vega.USiteBuilder;

namespace SPCFMedicineInformer.DocumentTypes
{
    [DocumentType(Name="Slideshow Item"
        ,IconUrl = "docPic.gif"
    )]
    public class SlideshowItem : SPCFMedicineInformer.DocumentTypes.SlideshowFolder
    {
        

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Image", Description = "",
            Tab = Constants.Tabs.Content)]
        public string ImageUrl { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Slide Title", Description = "",
            Tab = Constants.Tabs.Content)]
        public string SlideTitle { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.RichtextEditor, Name = "Content", Description = "",
            Tab = Constants.Tabs.Content)]
        public string Content { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.TrueFalse, Name = "Show in Frontpage", Description = "",
            Tab = Constants.Tabs.Content)]
        public bool ShowInFrontpage { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Read more link", Description = "",
            Tab = Constants.Tabs.Content)]
        public string ReadMoreLink { get; set; }
        
    }
}
